package cn.ljx.mapping;
import java.util.List;

import cn.ljx.entity.TBHandle;

public interface TBHandleMapper {
	
	//获得用户信息
	public TBHandle getHandleByName(String username);

	//获得用户列表
	List<TBHandle> gettbHandleList(String real_name); 
	/**
	 * 删除用户
	 */
	int delectHandle(String login_name);
	
	/*
	 * 添加用户
	 */
	int addHandle(TBHandle tbhandle);
	
	//通过用户ID查找用户
	TBHandle getHandleById(String id);
	
	//修改用户信息
	int updateHandle(TBHandle tbhandle);
}
